package com.example.nio.message;

import lombok.Data;

import java.io.Serializable;


/***
 * 响应体
 */
@Data
public class Response implements Serializable {

    private Request request;

    private Object data;

    public Response() {
    }

    public Response(Request request) {
        this.request = request;
    }
}
